amd-iommu: obtain page_alloc_lock before traversing a domain's page list
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 30 Jan 2009 11:13:06 +0000 (11:13 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 30 Jan 2009 11:13:06 +0000 (11:13 +0000)
commit0daab815d59e65401b3cbf5021fc710cd28acb08
tree3f4f5b47b8c9c6e4ba8e5235873981347beca4e0
parentf1e6f665b97a8596f56e8dd675415efb013b8b3d
amd-iommu: obtain page_alloc_lock before traversing a domain's page list

From all I can tell, this doesn't violate lock ordering as other
places call heap allocation functions from inside hd->mapping_lock.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/drivers/passthrough/amd/iommu_map.c